package com.example.exchangeapp.zjs;

import java.util.List;

public class ProductResponse {
    private int code;
    private String msg;
    private Data data;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public Data getData() {
        return data;
    }

    public static class Data {
        private List<Product> records;
        private Integer total;
        private Integer size;
        private Integer current;

        public List<Product> getRecords() {
            return records;
        }

        public Integer getTotal() {
            return total;
        }

        public Integer getSize() {
            return size;
        }

        public Integer getCurrent() {
            return current;
        }
    }
}
